home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970104-19970326
/
000350_news@columbia.edu _Tue Mar 4 19:05:29 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA06114
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 4 Mar 1997 19:05:28 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id TAA14239
for kermit.misc@watsun; Tue, 4 Mar 1997 19:05:27 -0500 (EST)
Path: news.columbia.edu!panix!news.eecs.umich.edu!news.radio.cz!newsbastard.radio.cz!news.radio.cz!voskovec.radio.cz!newsbastard.radio.cz!stdio!news-feed.inet.tele.dk!mr.net!newsfeeds.sol.net!newspump.sol.net!mindspring!cpk-news-hub1.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!howland.erols.net!ix.netcom.com!news
From: Nassif T Nassif <nnassif@voice-tel.com>
Newsgroups: comp.protocols.kermit.misc
Subject: UNIXLOGIN script???
Date: Tue, 04 Mar 1997 16:32:53 -0500
Organization: Netcom
Lines: 24
Message-ID: <331C9505.26B0@voice-tel.com>
NNTP-Posting-Host: clv-oh21-12.ix.netcom.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-NETCOM-Date: Tue Mar 04 3:34:03 PM CST 1997
X-Mailer: Mozilla 3.01Gold (Win95; I)
Xref: news.columbia.edu comp.protocols.kermit.misc:6687
I am trying to write a script to login to a unix machine: I am using the
unixlogin in "C-kermit" book page 436. In the book example, the part to
output the password was omitted but it is fixed in the ckermit.ini file.
If I include the macros (NET and UNIXLOGIN) in a script, I was able to
login, but then the script will exit from the remote host immediately
after I would get the prompt. I want to be able to login and then
transfer the control to the user (i.e the keyboard) so whewnever the
user execute the script he should not worry about login and password.
here is my code:
#!/l1/ntn/dev01/kermit/kermit
take /l1/ntn/dev01/kermit/ckermit.ini ;ini where macros are defined
NET tcp 193.254.220.1
UNIXLOGIN my_usrid mypasswd
hangup
exit 0
where my_usrid and mypasswd are the generic userid and password
respectively under which I want many users to login to my host.
Obviously I am missing Something.
Nassif T Nassif
email: nnassif@voice-tel.com